package com.inifitness.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.inifitness.common.basic.BaseEnum;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 通用状态
 *
 * @author sunjinfeng
 * @version 1.0.0
 * @since 2024/04/18 11:00:00
 */
@Getter
@AllArgsConstructor
public enum StatusEnum implements BaseEnum<Integer> {

  ENABLE(1, "启用"),
  DISABLE(0, "禁用");

  @EnumValue
  private final Integer value;

  private final String label;
}
